﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HySoft.Cash;
using HySoft.Cash.BaseClass;
using System.Data;

namespace PayRoller.Manage.DataAccess
{
    public partial class ShowInfo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ShowTime();
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            ShowTime();
        }

        private void ShowTime()
        {
            this.litTime.Text = string.Format("server time:{0};local time:{1},the diff is {2}", DateTime.Now, SafeDateTime.LocalNow, SafeDateTime.ZoneDiff);
        }

        protected void Button2_Click(object sender, EventArgs e)
        {

            //SqlHelper.ExecuteScalar(AppSettings.ConnectionString, CommandType.Text,);
        }
    }
}
